package com.ywk.base.java8.optional;

/**
 * @Author zbh
 * @Date 2023/11/10
 */
public class Card {

    private Integer id;

    private String type;

    public Card() {
    }

    public Card(Integer id, String type) {
        this.id = id;
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Card{" +
                "id='" + id + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
